package org.java.order.api;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @author WHQ
 * @version 1.0
 * @date 2022-3-18 0018 下午 5:24
 */
public interface OrderApi {
    /**
     * 支付完成以后修改订单状态的接口
     * @param tradeNum
     */
    @PostMapping("/modifyOrder/{tradeNum}")
    public void modifyOrder(@PathVariable("tradeNum") String tradeNum);
}
